package com.team.bus.module.common.service.impl;

import org.springframework.beans.BeansException;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.ApplicationContext;
import org.springframework.context.ApplicationContextAware;
import org.springframework.scheduling.annotation.Scheduled;
import org.springframework.stereotype.Service;
import org.zjframework.traceframe.common.dao.ICommonDao;
import org.zjframework.traceframe.common.service.impl.CommonServiceImpl;
import com.team.bus.module.common.service.IStaticService;

@Service("staticService")
public class StaticServiceImpl extends CommonServiceImpl implements IStaticService,ApplicationContextAware {



	@Autowired
	private ICommonDao commonDao;

	@SuppressWarnings("unused")
	private ApplicationContext applicationContext;  

	@Override
	public void setApplicationContext(ApplicationContext applicationContext)
			throws BeansException {
		// TODO Auto-generated method stub
		
	}

	//秒 分 小时 日 月 周 年
	@Scheduled(cron = "0 0 1 * * ?")     //每天一次
	@Override
	public void staticindex()  {

	}

	

}
